#ifndef _PROTOCOL_MSG_H_ 
#define _PROTOCOL_MSG_H_

#define ONE2ONE_CHANNEL			0xA00B01
#define ANY2ONE_CHANNEL			0xA00B02
#define ANY2ANY_CHANNEL			0xA00B03
#define ONE2ANY_CHANNEL			0xA00B04

#define STATE_INIT				0x001000 
#define STATE_YIELD				0x002000
#define STATE_EXIT				0x003000
#define STATE_WAIT				0x004000
#define STATE_CHAN_WAIT			0x005000

#define YIELD 					0x010000 
#define EXIT 					0x020000
#define INIT 					0x030000
#define GET_CMD 				0x040000
#define GET_SHARED_ADDR 		0x050000
#define POISON			 		0x060000
#define GET_CODE_SIZE	 		0x070000
#define WAIT_FOR_SPE_MSG 		0x080000
#define FETCH_FROM_SCHEDULER 	0x090000
#define COMM_KILL 				0x0A0000
#define GET_SPE_ID 				0x0B0000
#define GET_PID 				0x0C0000
#define PROCESS_SWAP			0x0D0000

#define CHANNEL_WRITE			0x0E0000
#define CHANNEL_READ			0x0F0000
#define ALT						0x100000

#define COMM_TAKE_PROC			0x110000
#define COMM_EXECUTE			0x120000
#define COMM_CHANN_TALK			0x130000
#define COMM_PUT_PROC			0x140000
#define COMM_INIT_PROCS 		0x150000
#define COMM_CHANN_YES			0x160000
#define COMM_CHANN_NO_YIELD		0x170000
#define COMM_CHANN_NO_STAY		0x180000
#define COMM_WRITE_PROCESS 		0x190000
#define COMM_PROCESS_SWAP 		0x1A0000
#define COMM_DESTROY 			0x1B0000
#define COMM_ALT	 			0x1C0000
#define COMM_POISON	 			0x1D0000
#define COMM_SW_START	 		0x1E0000
#define COMM_SW_STOP	 		0x1F0000

/* Only known on SPE */



#endif
